package com.designPatterns.decorator;

public class milk extends Decorator{
	private Beverage beverage;
	
	public milk(Beverage beverage) {
		super();
		this.beverage = beverage;
	}

	@Override
	public String getDescription() {
		return this.beverage.getDescription()+"milk:2.3";
	}

	@Override
	public double cost() {
		return this.beverage.cost()+2.3;
	}

}
